<template>
  <div>
    <confirm :show.sync="show" confirm-text="确认" cancel-text="取消" title="温馨提示" @on-cancel="onCancel" @on-confirm="onConfirm" @on-show="onShow" @on-hide="onHide">
      <p style="text-align:center;">是否已选完早餐前往结算？</p>
    </confirm>
  </div>
</template>

<script>
import Confirm from './../../components/confirm'
export default {
  name: "loginoutConfirm",
  components: {
    Confirm
  },
  props: {
    show: Boolean,
    status: Boolean
  },
  methods: {
    onCancel () {
      this.$emit('on-cancel')
    },
    onConfirm () {
      this.$emit('on-confirm')
    },
    onHide () {
      console.log("hide")
    },
    onShow () {
      console.log("show")
    }
  }
}
</script>
